package cn.exrick.manager.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class TbNav implements Serializable {
    private Long id;

    private Long parentId;

    private String name;

    private String EnglishName;

    private Integer sortOrder;

    private Boolean isParent;

    private Integer type;

    private Date createTime;

    private Date updateTime;

    private String parentName;

    private List<TbNav> children;

    private boolean hasRelation = false;

    public String getEnglishName() {
        return EnglishName;
    }

    public void setEnglishName(String englishName) {
        EnglishName = englishName;
    }

    public boolean getHasRelation() {
        return hasRelation;
    }

    public void setHasRelation(boolean hasRelation) {
        this.hasRelation = hasRelation;
    }

    public List<TbNav> getChildren() {
        return children;
    }

    public void setChildren(List<TbNav> children) {
        this.children = children;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
